package com.xnyzc.lhy.didi.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xnyzc.lhy.order.entity.order.OaDOrder;
import com.xnyzc.lhy.order.entity.order.VehicleType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: huxuekuo
 * @Date: 2019-08-02 15:16
 * @Description:
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderParam extends OaDOrder {
    /**
     * 冗余字段,用户参数接受
     */
    @ApiModelProperty(value = "订单类型(0-自费,1-个人,2-部门,3-审批")
    @TableField(exist = false)
    private Integer callOrderType;
    @ApiModelProperty(value = "呼叫类型(0-现在,1-预约,2-代叫)")
    @TableField(exist = false)
    private Integer CallCarType;
    @ApiModelProperty(value = "乘客发单时经度")
    @TableField(exist = false)
    private String clng;
    @ApiModelProperty(value = "乘客发单时纬度")
    @TableField(exist = false)
    private String clat;
    @ApiModelProperty(value = "出发地地址")
    @TableField(exist = false)
    private String startAddress;
    @ApiModelProperty(value = "目的地地址")
    @TableField(exist = false)
    private String endAddress;
    @ApiModelProperty(value = "拼车人数")
    @TableField(exist = false)
    private Integer carpoolNumber;
    @ApiModelProperty(value = "叫车类型数据源")
    @TableField(exist = false)
    List<VehicleType> typeList;
    @ApiModelProperty(value = "城市ID")
    @TableField(exist = false)
    String cityId;
    @ApiModelProperty(value = "申请原因")
    @TableField(exist = false)
    String applyReason;
    @ApiModelProperty(value = "指定车辆ID")
    @TableField(exist = false)
    String vehId;
    @ApiModelProperty(value = "预估价格")
    @TableField(exist = false)
    String estimatePrice;

    @ApiModelProperty(value = "滴滴订单ID")
    @TableField(exist = false)
    String openOid;

    @ApiModelProperty(value = "合作方订单ID")
    @TableField(exist = false)
    String orderId;

    /**
     * 服务产品线
     */
    @TableField(exist = false)
    private String productType;

    /**
     * 服务运力类型
     */
    @TableField(exist = false)
    private String rideType;

    /**
     * 预估价格Id
     */
    @TableField(exist = false)
    private String estimateId;
}
